package com.sinsz.wxpn.open.support;

import java.util.Map;

/**
 * 接收消息常用参数
 * @author chenjianbo
 * @date 2018-11-19
 */
public class ReceiveEntry {

    private String fromUser;

    private String toUser;

    private String msgType;

    private String event;

    private Map body;

    ReceiveEntry(String fromUser, String toUser, String msgType, String event) {
        this.fromUser = fromUser;
        this.toUser = toUser;
        this.msgType = msgType;
        this.event = event;
    }

    public String getFromUser() {
        return fromUser;
    }

    public void setFromUser(String fromUser) {
        this.fromUser = fromUser;
    }

    public String getToUser() {
        return toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }

    public Map getBody() {
        return body;
    }

    public void setBody(Map body) {
        this.body = body;
    }
}
